package com.eastelsoft.smartiot.bssserver.domain;

import java.io.Serializable;
import java.util.Date;

public class TCmAppInfo implements Serializable {
    private String appId;

    private String userAccountId;

    private String appKey;

    private String appInfo;

    private Integer validType;

    private Integer lockFlag;

    private Date lockedTime;

    private String lockedMemo;

    private Integer passwdErrorTimes;

    private Date firstPasswdErrTime;

    private String modUser;

    private Date modTime;

    private String remark;

    private String ip;

    private String sharedKey;

    private static final long serialVersionUID = 1L;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId == null ? null : appId.trim();
    }

    public String getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(String userAccountId) {
        this.userAccountId = userAccountId == null ? null : userAccountId.trim();
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey == null ? null : appKey.trim();
    }

    public String getAppInfo() {
        return appInfo;
    }

    public void setAppInfo(String appInfo) {
        this.appInfo = appInfo == null ? null : appInfo.trim();
    }

    public Integer getValidType() {
        return validType;
    }

    public void setValidType(Integer validType) {
        this.validType = validType;
    }

    public Integer getLockFlag() {
        return lockFlag;
    }

    public void setLockFlag(Integer lockFlag) {
        this.lockFlag = lockFlag;
    }

    public Date getLockedTime() {
        return lockedTime;
    }

    public void setLockedTime(Date lockedTime) {
        this.lockedTime = lockedTime;
    }

    public String getLockedMemo() {
        return lockedMemo;
    }

    public void setLockedMemo(String lockedMemo) {
        this.lockedMemo = lockedMemo == null ? null : lockedMemo.trim();
    }

    public Integer getPasswdErrorTimes() {
        return passwdErrorTimes;
    }

    public void setPasswdErrorTimes(Integer passwdErrorTimes) {
        this.passwdErrorTimes = passwdErrorTimes;
    }

    public Date getFirstPasswdErrTime() {
        return firstPasswdErrTime;
    }

    public void setFirstPasswdErrTime(Date firstPasswdErrTime) {
        this.firstPasswdErrTime = firstPasswdErrTime;
    }

    public String getModUser() {
        return modUser;
    }

    public void setModUser(String modUser) {
        this.modUser = modUser == null ? null : modUser.trim();
    }

    public Date getModTime() {
        return modTime;
    }

    public void setModTime(Date modTime) {
        this.modTime = modTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getSharedKey() {
        return sharedKey;
    }

    public void setSharedKey(String sharedKey) {
        this.sharedKey = sharedKey == null ? null : sharedKey.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", appId=").append(appId);
        sb.append(", userAccountId=").append(userAccountId);
        sb.append(", appKey=").append(appKey);
        sb.append(", appInfo=").append(appInfo);
        sb.append(", validType=").append(validType);
        sb.append(", lockFlag=").append(lockFlag);
        sb.append(", lockedTime=").append(lockedTime);
        sb.append(", lockedMemo=").append(lockedMemo);
        sb.append(", passwdErrorTimes=").append(passwdErrorTimes);
        sb.append(", firstPasswdErrTime=").append(firstPasswdErrTime);
        sb.append(", modUser=").append(modUser);
        sb.append(", modTime=").append(modTime);
        sb.append(", remark=").append(remark);
        sb.append(", ip=").append(ip);
        sb.append(", sharedKey=").append(sharedKey);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}